# Dockerfile for apollo-adminservice
# Build with:
# docker build -t apollo-adminservice .
# Run with:
# docker run -p 8090:8090 -d --name apollo-adminservice apollo-adminservice

FROM java:8-jre
MAINTAINER LiuWei

ENV VERSION 0.11.0

ADD apollo-adminservice-${VERSION}.jar /apollo-adminservice/apollo-adminservice-${VERSION}.jar

ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /apollo-adminservice/apollo-adminservice-${VERSION}.jar"]